package com.aegis.gateway.strategy;

import com.aegis.gateway.constants.FilterChainEnum;
import com.aegis.gateway.service.FilterManageService;
import org.springframework.stereotype.Component;
import org.springframework.web.server.ServerWebExchange;

/**
 * @Author wuweixin
 *
 * @Version 1.0
 * @Descritube 分发到签名校验过滤器
 */
@Component
public class SignFilterDistributeHandler extends AbsFilterDistributeHandler {
    @Override
    public void handle(ServerWebExchange exchange, Object extra) {
        filterManageService.setNextFilter(exchange, FilterChainEnum.SIGN_FILTER);
    }
}
